package com.ruicar.afs.cloud.risk.tortoise.dto.notice.data;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumDeserializer;
import com.ruicar.afs.cloud.common.core.enums.AfsEnumSerializer;
import com.ruicar.afs.cloud.risk.api.enums.tortoise.GwtTortoiseFraudResult;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description 反欺诈手动触发
 * @Author Peng Jinbo
 * @Date 2020/07/31 22:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GwtTortoiseHandFraudNotice implements Serializable {

    /**
     * Fraud result
     */
    @JSONField(name = "antiFraudinsResult",serializeUsing = AfsEnumSerializer.class, deserializeUsing = AfsEnumDeserializer.class)
    @JsonProperty("antiFraudinsResult")
    @JsonSerialize(using = AfsEnumSerializer.class)
    @JsonDeserialize(using = AfsEnumDeserializer.class)
    private GwtTortoiseFraudResult fraudResult;

    /**
     * Fraud result desc
     */
    @JSONField(name = "antiFraudResultDisplay")
    @JsonProperty("antiFraudResultDisplay")
    private String fraudResultDesc;

    /**
     * Fraud score
     */
    @JSONField(name = "antiFraudScore")
    @JsonProperty("antiFraudScore")
    private String fraudScore;

}
